//引入vue
import Vue from 'vue'
import axios from 'axios'

//将axios挂载到vue原型上
axios.defaults.baseURL = 'http://localhost:8030/index'
Vue.prototype.$http=axios;